{{Strip}}{{- $pjax := $.Form "_pjax" -}}
{{with $.Data}}
{{- $isFirst := .IsFirst -}}
{{- if or (not $isFirst) .HasNext -}}
<ul class="pagination" disabled-fixed>
    {{- if not $isFirst -}}
    <li class="prev wd-100">
        <a href="{{.URL ``}}"{{if $pjax}} data-pjax="{{$pjax}}" data-keepjs="true"{{end}}>
            <span class="fa fa-angle-left"></span>&nbsp;{{"第一页"|$.T}}
        </a>
    </li>
    {{- end -}}
    {{- if .HasPrev -}}
    <li class="next wd-100">
        <a href="{{.URL .PrevPosition}}" offset="{{.PrevPosition}}"{{if $pjax}} data-pjax="{{$pjax}}" data-keepjs="true"{{end}}>
            {{"上一页"|$.T}}&nbsp;<span class="fa fa-angle-right"></span>
        </a>
    </li>
    {{- end -}}
    {{- if .HasNext -}}
    <li class="next active {{if $isFirst}}wd-200{{else}}wd-100{{end}}">
        <a href="{{.URL .NextPosition}}" offset="{{.NextPosition}}"{{if $pjax}} data-pjax="{{$pjax}}" data-keepjs="true"{{end}}>
            {{"下一页"|$.T}}&nbsp;<span class="fa fa-angle-right"></span>
        </a>
    </li>
    {{- end -}}
</ul>
{{- end -}}
{{end}}
{{/Strip}}